package com.transaction.manage.localMapper;

import com.transaction.manage.model.dto.TransContract;
import com.transaction.manage.myMapper.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.LinkedHashMap;
import java.util.Map;

public interface TransContractMapper extends MyMapper<TransContract> {

    void insertTransContract(@Param("trans") LinkedHashMap<String, Object> trans,
                             @Param("retMap") Map<String, Object> retMap);

    void updateContractAmount(@Param("channelCode") String channelCode,
                              @Param("fundCode") String fundCode,
                              @Param("transactionAccountId") String transactionAccountId,
                              @Param("appSheetSerialNo") String appSheetSerialNo,
                              @Param("applicationAmount") BigDecimal applicationAmount);
}
